package com.gm.wholesale.module.order.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;


public class CreateAftersaleReq implements Serializable {


    @SerializedName("items")
    private List<ItemsDTO> items;
    @SerializedName("date")
    private String date;

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public List<ItemsDTO> getItems() {
        return items;
    }

    public void setItems(List<ItemsDTO> items) {
        this.items = items;
    }

    public static class ItemsDTO {
        @SerializedName("orderLineId")
        private long orderLineId;
        @SerializedName("quantity")
        private String quantity;

        public long getOrderLineId() {
            return orderLineId;
        }

        public void setOrderLineId(long orderLineId) {
            this.orderLineId = orderLineId;
        }

        public String getQuantity() {
            return quantity;
        }

        public void setQuantity(String quantity) {
            this.quantity = quantity;
        }
    }
}
